package main

import (
	"github.com/astaxie/beego"
	_ "sysinfo/routers"
)

func main() {
	beego.SetStaticPath("/js", "./static/js")
	beego.SetStaticPath("/wjjs", "./static/wjjs")
	beego.SessionGCMaxLifetime = 5
	beego.SessionName = "sysinfoID"
	beego.SessionSavePath = "./tmp"
	beego.SessionProvider = "file"
	beego.BeegoServerName = "nginx"
	beego.SessionOn = true
	beego.Run()
}
